package LeetCode.month03.day80;

/**
 * @author 16778
 * @date 2025/10/20 8:26
 * @description
 */
public class No2011 {
    public int finalValueAfterOperations(String[] operations) {
        int x = 0;
        for (int i = 0; i < operations.length; i++) {
            if(operations[i].charAt(1)=='+')x++;
            else x--;
        }
        return x;
    }
}
